<div style="height: 100vh; overflow: hidden; position: relative">
  <div id="mainBody">
    <router-outlet></router-outlet>
  </div>
  <ul id="menu">
    <li>
      <a
        [routerLink]="'./'"
        [ngStyle]="{ color: url == '/main' ? '#1890ff' : '' }"
        >商品管理</a
      >
    </li>
    <li>
      <a
        [routerLink]="'./person'"
        [ngStyle]="{ color: url == '/main/person' ? '#1890ff' : '' }"
        >个人中心</a
      >
    </li>
  </ul>
  <div id="addModule" [ngStyle]="{ top: top }">
    <app-add-commodity></app-add-commodity>
  </div>
</div>
<!--  (touchmove)="touchmoveAdd($event)"
    (touchend)="toushendAdd($event)" -->
